package com.system.queue.dto;

/**
 * @className: VisitQueueFactory
 * @description: 就诊队列工厂
 * @author: Kuangkeli
 * @date: 2023/11/28 15:29
 **/
public class VisitQueueFactory implements QueueFactory{

    private static VisitQueueFactory instance;

    public VisitQueueFactory() {
    }

    public static VisitQueueFactory getInstance() {
        if (instance == null)
            instance = new VisitQueueFactory();
        return instance;
    }

    @Override
    public QueueDTO createQueue() {
        return new VisitQueueDTO();
    }
}
